package caves.points 
{
	import caves.AbstractSpace;
	import flash.geom.Point;
	/**
	 * ...
	 * @author Jeroen Gildemacher
	 */
	public class SpacePoint extends Point
	{
		private var _locked:Boolean=false;
		private var _owner:AbstractSpace;		
		public function SpacePoint(x:int, y:int, owner:AbstractSpace) 
		{
			this.x = x;
			this.y = y;
			this._owner = owner;
			
		}
		
		public function get owner():AbstractSpace 
		{
			return _owner;
		}
		
		public function set owner(value:AbstractSpace):void 
		{
			_owner = value;
		}
		
		public function get locked():Boolean 
		{
			return _locked;
		}
		
		public function set locked(value:Boolean):void 
		{
			_locked = value;
		}
		
	}

}